
/**
 * AppleIIGo
 * Disk 3.5" Interface Card class
 * (C) 2008 by Marc S. Ressl (mressl@umich.edu)
 * Released under the GPL
 */

#ifndef DISK35INTERFACECARD_H
#define DISK35INTERFACECARD_H

#define APPLE35FLOPPYDISKDRIVEINTERFACECARD_ROM_BYTENUM 0x1000

#include "IWM.h"

class Apple35FloppyDiskDriveInterfaceCard : public IWM {
public:
	Apple35FloppyDiskDriveInterfaceCard(class Motherboard * motherboard,
										char * slotDeviceName);
	
	void onMemoryRequested();
	void onMemoryAllocated();
	
	UINT8 readMemory(UINT16 address);
	
private:
	UINT32 romMemoryOffset;
	UINT8 * romMemory;
};

#endif
